package com.htjc.integral.account.mapper.olddb;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.htjc.integral.model.newaccount.EcBpMemberOld;

/**
 * 老系统积分明细
 * @author hlc
 *
 */
@Mapper
public interface EcBpMemberMapper {
	
	/**
	 * 根据ID查询该ID下所有积分
	 * @param accountId
	 * @return
	 */
	List<EcBpMemberOld> selectOldIntegral(String accountId);
	
	/**
	 * 将老系统中被划转走的数据 的收支方向更改为2
	 * @param memberOldList
	 * @return
	 */
	int update(List<EcBpMemberOld> memberOldList);
}
